import { RouteRecordRaw } from 'vue-router';

export default<RouteRecordRaw> {
  path: '/setting',
  redirect: '/404',
  children: [
    {
      path: 'type',
      meta: {
        cacheKey: 'type',
        tabName: '类型管理'
      },
      component: () => import('@/views/setting/type.vue'),
    },
    {
      path: 'field',
      meta: {
        cacheKey: 'field',
        tabName: '字段管理'
      },
      component: () => import('@/views/setting/field.vue'),
    }
  ]
}
